<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>展示用户信息</title>
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.3.1.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/register.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/top.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/jquery.validate.js"></script>
		<script type="text/javascript" charset="UTF-8"
			src="<%=basePath%>js/messages_cn.js"></script>
		<link rel="stylesheet" type="text/css"
			href="<%=basePath%>css/xiugai.css">
		<link href="<%=basePath%>css/jquery.validate.css" rel="stylesheet" />
		<script type="text/javascript">
	$(function() {

		$("#updateForm").validate( {
			rules : {
				"user.userName" : {
					required : true
				},
				"user.trueName" : {
					required : true
				},
				"user.idCard" : {
					required : true
				},
				"user.tel" : {
					required : true
				},
				"user.email" : {
					required : true
				}
			}
		});
	});
</script>

	</head>

	<body>
		<div class="box">
			<!--表头logo、导航条-->
			<jsp:include page="top.jsp"></jsp:include>				
			<div class="main1">
					<form action="UserAction!updateSelfInfo" method="post" name="updateForm" id="updateForm">

						<div id="maintop">
							个人信息
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								用户名：
							</div>
							<div>
								<input  name="user.userName" id="user.userName" type="text"
								 value="<s:property value="user.userName" />"  readonly="readonly"/>
							</div>
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								真实姓名：
							</div>
							<div>
								<input name="user.trueName" id="user_trueName" type="text" 
								value="<s:property value="user.trueName" />" />
							</div>
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								性别：
							</div>
							<div id="main-1-xingbei-nan">
								<input name="user.sex" type="radio" id="user_sex" value="男" checked="checked"/>
								男
							</div>
							<div>
								<input name="user.sex" type="radio" id="user_sex" value="女" />
								女
							</div>
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								身份证号：
							</div>
							<div>
								<input name="user.idCard" id="user_idCard" type="text" 
								value="<s:property value="user.idCard"  />" readonly="readonly"/>
							</div>
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								联系电话：
							</div>
							<div>
								<input name="user.tel" id="user_tel" type="text" 
								 value="<s:property value="user.tel" />"/>
							</div>
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								联系地址:
							</div>
							<div>
								<input name="user.address" id="user_address" type="text" 
								value="<s:property value="user.address" />"/>
							</div>
						</div>
						<div class="main">
							<div class="main-1-wenzi">
								电子邮箱：
							</div>
							<div>
								<input name="user.email" id="user_email"
								 value="<s:property value="user.email" />"/>
							</div>
						</div>
					
						<div id="main-anniu">
							<input name="" type="submit" value="保存修改" />
						</div>
					</form>
				</div>

				<!--版权声明-->
				<div class="bottom">
    
    <table width="100%" border="0"  class="STYLE4" style="font-size: 12px" >
    <tr>
    <td><br/></td>
    </tr>
      <tr  >
        <td align="center">友情链接：<a href="http://www.google.com">Google </a>| <a href="http://cn.bing.com">Bing </a>| <a href="http://www.baidu.com">百度</a></td>
      </tr>
      <tr>
        <td align="center">邮箱地址：0100121215@live.com 联系电话：001401001</td>
      </tr>
      <tr>
        <td align="center">Copyright&copy; 2011-2013 版权所有AIRLINE.COM</td>
      </tr>
    </table>
    
     </div>
			</div>
	</body>

</html>
